package com.ruoyi.life.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 退款明细对象 omp_sf_refund_detail
 *
 * @author cjie
 * @date 2021-08-03
 */
@Data
@ApiModel
public class SfRefundDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 账单Id */
    @Excel(name = "账单Id")
    @ApiModelProperty(value = "账单Id")
    private String billId;

    /** 退款方式 */
    @Excel(name = "退款方式")
    @ApiModelProperty(value = "退款方式")
    private String refundMethod;

    /** 退款金额 */
    @Excel(name = "退款金额")
    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "退款时间")
    private Date refundTime;

    /** 收款人 */
    @Excel(name = "收款人")
    @ApiModelProperty(value = "收款人")
    private String payee;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 账单编号 */
    @Excel(name = "账单编号")
    @ApiModelProperty(value = "账单编号")
    private String billNum;

}
